package com.dz.risk.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dz.risk.common.ResponseVO;
import com.dz.risk.pojo.QueryParams;
import com.dz.risk.pojo.domain.EarlyWarningDebtListEntity;

import java.util.List;

/**
 * 债卷模块-预警债券名单
 *
 * @author yinpl
 * @email 
 * @date 2021-07-06 17:19:33
 */
public interface EarlyWarningDebtListService extends IService<EarlyWarningDebtListEntity> {

    void insert(EarlyWarningDebtListEntity earlyWarningDebtListEntity);

    IPage<EarlyWarningDebtListEntity> query(QueryParams queryParams);

    List<EarlyWarningDebtListEntity> queryByVersion(Long queryParams);


    List<EarlyWarningDebtListEntity> queryByCode(String bondCode);

    ResponseVO add(EarlyWarningDebtListEntity earlyWarningDebtListEntity);

    void updateEarlyWarningDebtListEntityById(EarlyWarningDebtListEntity earlyWarningDebtListEntity);

    void deleteById(String id);
}

